Delay lines, methods for delaying a signal, and delay lock loops

ABSTRACT

Locked loops, delay lines and methods for delaying signals are disclosed, such as a delay line and delay lock loop using the delay line includes a series of delay stages, each of which consists of a single inverting delay device. The inputs and outputs of a selected stage are applied to a phase inverter that inverts one of the signals and applies it to a first input of a phase mixer with the same delay that the other signal is applied to a second input of the phase inverter. The delay of the signals from the selected delay element are delayed from each other by a coarse delay interval, and the phase mixer interpolates within the coarse delay interval by fine delay intervals. A phase detector compares the timing of a signal generated by the phase interpolator to the timing of a reference clock signal applied to the delay line to determine the selected delay stage and a phase interpolation value.

TECHNICAL FIELD

This invention relates to delay lines and delay lock loops using delay lines, and, more particularly, in one or more embodiments, to a delay line providing improved linearity and duty cycle symmetry.

BACKGROUND OF THE INVENTION

A variety of circuits are included in integrated circuits, such as memory devices. One such circuit is a delay lock loop (“DLL”), a typical example of which is shown in FIG. 1. The DLL 10 includes a delay line 14, which, as explained in greater detail below, includes a large number of gates coupled to each other in series. The delay line 14 receives a reference clock signal CLK_(REF) and generates an output clock signal CLK_(OUT) having a delay relative to the reference clock signal CLK_(REF) that is controlled by a delay control signal DelCtrl. The delay control signal DelCtrl adjusts the delay provided by the delay line 14 by altering the number of gates through which the CLK_(REF) is coupled. The DLL 10 also includes a phase detector 16 and delay controller 18 coupled to outputs of the phase detector 16 for adjusting the delay of the delay line 14. The phase detector 16 compares the phase of the reference clock signal CLK_(REF) to the phase of an output clock signal CLK_(OUT) generated by delay line 14 to determine a phase error. The CLK_(OUT) signal is thus used as a feedback clock signal, although other signals derived from the CLK_(OUT) signal may instead be used as the feedback clock signal. The feedback clock signal is coupled to the input of phase detector though a model delay circuit 20. The model delay circuit 20 delays the feedback clock signal by substantially the sum of the input delay of the CLK_(REF) signal being coupled to the phase detector 16 and the output delay of the CLK_(OUT) signal being coupled from the delay line 14. As a result, the phase of the CLK_(OUT) signal is accurately synchronized to the phase of the CLK_(REF) signal. If the phase detector 16 is a digital phase detector, it typically generates an UP signal if the CLK_(OUT) signal leads the CLK_(REF) signal by more than a first phase error. The delay controller 18 responds to the UP signal by increasing the delay of the delay line 14 to reduce the phase error. Similarly, the phase detector 16 generates a DN signal if the CLK_(OUT) signal lags the CLK_(REF) signal by more than a second phase error. In that case, the delay controller 18 responds to the DN signal by decreasing the delay of the delay line 14 to again reduce the phase error. The phase detector 16 generates neither an UP signal nor a DN signal if the magnitude of the phase error is between the first phase error and the second phase error.

The DLL 10 can be used for a variety of functions in a memory device and in other integrated circuit devices. For example, the DLL 10 can be used in a memory device to perform such functions as synchronizing one signal, such as a data strobe signal DQS, to another signal, such as an external clock signal as long as a delay in coupling the external clock signal to the DLL10 and a delay in coupling the DQS signal from the DLL10 are compensated for by corresponding model delays in the feedback path of the DLL 10. The DQS signal can then be used to latch data at a time that is synchronized with the external clock signal.

The degree to which the DLL 10 is able to lock the phase of the CLK_(OUT) signal to the phase of the CLK_(REF) signal is largely determined by the delay adjustability of the delay line 14. If the delay of the delay line 14 can only be adjusted in relatively coarse steps, the error between the phase of the CLK_(OUT) signal and the phase of the CLK_(REF) signal can be relatively large. For this reason, it is desirable for the delay line 14 to have a large number of gates or other delay devices. A large number of gates or other delay devices allows the delay of the delay line to be adjusted in a larger number of steps. For example, if the delay line 14 has 72 delay stages, the delay line 14 can adjust the delay of the delay line in approximately 5 degree steps (i.e., (360° minus delay of model delay circuits)/72). Although a large number of gates or other delay devices provides a great deal of delay adjustablity, it can also result in a large power consumption.

In order to allow the delay of a delay line to be adjusted in relatively fine steps to provide high accuracy without consuming a significant amount of power, a phase mixer (not shown) can be used to interpolate between relatively coarse steps. Using a phase mixer, the CLK_(OUT) signal is delayed relative to the CLK_(REF) signal by the sum of the coarse steps provided by the delay line and fine steps provided by the phase mixer. Significantly, the minimum step size is then the size of a fine step.

Unfortunately, conventional DLLs using a combination of a delay line and a phase mixer to delay the CLK_(OUT) signal relative to the CLK_(REF) signal can suffer a number of performance limitations, primarily because the delay lines typically used have two inverting gates in each of a plurality of delay stages. As a result, the phase mixer must interpolate over a larger range in order to provide a given size of the fine step. Additionally, phase mixers interpolating over a large range often exhibit excessive non-linearity because the non-linearity of a phase mixer is normally a fixed percentage of the range over which the phase mixer interpolates. Thus, the larger coarse step provided by two inverting gates can result in an undesirable degree of non-linearity.

There is therefore a need for a delay line that provides good duty cycle symmetry, and that allows a phase mixer to interpolate over a relatively small range and provide good phase mixer linearity.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a conventional delay lock loop using a delay line to delay a reference clock signal.

FIG. 2 is a block diagram of a conventional delay lock loop using a delay line in combination with a phase mixer to delay a reference clock signal.

FIG. 3 is a block diagram of a delay lock loop using a delay line in combination with a phase mixer according to one embodiment of the invention.

FIG. 4 is a logic diagram of an embodiment of a phase inverter that may be used in the delay lock loop of FIG. 3 or in some other delay lock loop.

DETAILED DESCRIPTION

A typical prior art DLL 30 using a delay line in combination with a phase mixer is shown in FIG. 2. The DLL 30 may include the same phase detector 16 and model delay 20 used in the DLL 10 of FIG. 1. A delay line 50 included in the DLL 30 includes a plurality of delay stages 54 a-d that are coupled to each other in series. The first delay stage 54a receives the CLK_(REF) signal. Each of the delay stages 54 a-d includes a pair of series-coupled NAND gates 56, 58 and an exit NAND gate 60. The NAND gates 56, 58 are enabled by respective EnNx signals applied to the respective delay stages 54. When enabled, each delay stage 54 couples a clock signal applied to the input of the delay stage 54 to the output of the delay stage. Each of the delay stages 54 in the delay line 50 also receives a respective exit control signal ExitEnx, which enables the respective exit NAND gate 60 so that the gate 60 can couple a received clock signal to an input of an exit tree 70. The exit tree 70 includes a pair of NAND gates 74, 76 coupled to the exit NAND gates 60 of the delay line as shown. The exit tree 70 applies two clock signals EvenOut and OddOut, which are delayed from each other by the delay of the two NAND gates 56, 58, to an input of a phase mixer 80. The phase mixer 80 generates a feedback clock signal CLK_(FB) with a phase that is interpolated between the delay between the EvenOut and OddOut signals. As with the DLL 10 of FIG. 1, the CLK_(FB) signal is applied to one of the inputs of the phase detector 16. The phase detector 16 responds to a comparison between the phase of the CLK_(REF) signal and the CLK_(FB) signal by selectively generating UP and DN signals.

In operation, a delay controller 84 includes conventional logic used to generate delay control signals, such as EnNx signals, ExitEnx signals, and an INTER signal. For example, delay controller 84 could generate high EnNx signals that are applied to the NAND gates 56, 58 in a delay stage 54 selected in response to the UP and DN signals. The delay controller 84 also applies high EnNx signals to the respective NAND gates 56, 58 in all of the delay stages 54 upstream from the selected delay stage 54 and low EnNx signals to the respective NAND gates 56, 58 in all of the delay stages 54 downstream from the selected delay stage 54. As a result, the CLK_(REF) signal is coupled through the selected delay stage 54 and all of the delay stages 54 upstream from the selected delay stage 54. However, the CLK_(REF) signal is not coupled through the delay stages 54 downstream from the selected delay stage 54 because the low EnNx signals applied to these stages disable the NAND gates 56, 58 in those stages, thereby avoiding power being wasted in these stages.

The delay controller 84 also applies a high ExitEnx signal to exit NAND gate 60 in the selected delay stage 54, and it applies respective low ExitENx signals to the exit NAND gate 60 in each of the other delay stages 54. The low ExitEnx signal applied to the NAND gate 60 in each of the remaining stages causes the NAND gate 60 to output a high, which enables the NAND gates 74, 76 in the exit tree 70 so that the selected delay stage 54 can couple its input and output through the NAND gates 74, 76. Thus, only the selected delay stage 54 is enabled to output EvenOut and OddOut signals. In this manner, the delay controller 84 selects one of the delay stages 54 in the delay line 50. The delay controller 84 also generates an INTER value that causes the phase mixer 80 to interpolate between the EvenOut and OddOut signals to minimize the phase error determined by the phase detector 16. Therefore, the delay line 50 is used to apply a coarse adjustment to the delay of the CLK_(FB) signal, and the phase mixer 80 is used to interpolate within the coarse delay to apply a fine adjustment to the phase of the CLK_(OUT) signal.

The DLL 30 shown in FIG. 3 performs well in a variety of conventional applications, but nevertheless exhibits a variety of undesirable traits and limitations. The problems with conventional DLLs, such as the DLL30, are due primarily to the fact that each delay stage in the delay line 50 has two inverting gates 56, 58 to ensure good duty cycle control. In most inverting delay circuits, the transition from a first logic level to a second logic level is faster than the transition from the second logic level back to the first logic level. As a result, if other inverting logic elements, such as a single NAND gate and an inverter was used for each delay stage, the NAND gate might have different rise and fall times than the inverter, which would be accumulated from all of the delay stages, thereby resulting in duty cycle error, which would result in the CLK_(FB) signal not having a 50% duty cycle. A deviation from a duty cycle of 50% can be particularly problematic for many applications. For example, a DQS signal is used in current memory devices to latch data on both the rising edge and the falling edge of the DQS signal. Therefore, if the CLK_(OUT) signal does not have a 50% duty cycle and it is used to generate the DQS signal, the rising and falling edges of the DQS signal will generally not occur at the center of the period during which the data to be latched are valid. Such skews that can occur in the timing of the DQS signal relative to the data can thus prevent the proper data from being latched. The uses of two NAND gates 56, 58 in each stage 54 of the delay line 50 avoids the problem of duty cycle skew because the signal applied to every stage always transitions both high and low on each transition of the signal before the signal is propagated to the output of that stage.

The phase detector 16 shown in FIG. 2 has characteristics that limit the performance of the DLL 30. First, the use of two NAND gates 56, 58 or other inverting delay devices for each stage limits the minimum size of the coarse step to the delay of two NAND gates. As a result, the phase mixer 80 must interpolate over a larger range in order to provide a given size of the fine step. Second, two NAND gates 56, 58 or other inverting delay devices for each stage provide a relatively large delay which can adversely affect the ability of the phase mixer 80 to linearity adjust the delay of the delay line 50. To provide optimum performance, the delay provided by the phase mixer 80 should be a linear function of the value of an interpolation signal so that the sizes of all of the fine steps are equal to each other. Insofar as the non-linearity of a phase mixer is normally a fixed percentage of the range over which the phase mixer interpolates, the larger coarse step required to cover two NAND gates 56, 58 or other inverting delay devices results in a greater degree of non-linearity.

A DLL 100 using a delay line 120 in combination with a phase mixer 110 according to an embodiment of the invention is shown in FIG. 3. The DLL 100 may use the same delay controller 84 used in the DLL 30, and it may provide the same EnNx and ExitEnx signals. Similarly, DLL 100 may use the same exit tree 70 used in the DLL 30, and it may receive the same ExitEnx signals and output the EvenOut and OddOut* signals. Therefore, an explanation of the structure and operation of the delay controller 84 and the exit tree 70 will not be repeated. The DLL 100 differs from the DLL 30 by using a delay line 120 that is different from the delay line 50 used in the DLL 30, and it uses a phase inverter 130, which is not used in the DLL 30. Of course, a DLL according to other embodiments of the invention may have other differences from the DLL 30.

The delay line 120 includes a plurality of delay stages 124, each of which includes only a single NAND gate 126, although other embodiments may use other inverting delay (e.g., logic) devices such as NOR gates and inverters, to name two such delay devices. As a result, the size of the coarse step over which the delay of the delay line 120 is adjusted may be approximately half the size of the coarse step of the delay line 50 used in the prior art DLL 30. However, unlike the delay line 50, the output from each delay stage 124 of the delay line 120 is the delayed complement of the phase of the input to that delay stage 124. As a result, the coarse step of the delay line 120 is the difference between the phase shift through the NAND gate 126 and 180 degrees. The size of this coarse step would normally be significantly larger than the size of the coarse step provided by the delay line 50, and would thus defeat the major advantage to using a single NAND gate 126 or other inverting delay device for each stage rather than two NAND gates 56, 58 for each stage 54 as used in the delay line 50. The 180 degree phase shift could, of course, be eliminated by using a non-inverting delay device in each stage. But doing so would cause the delay devices in each of the delay stages to transition in the same direction. As a result, any difference in the time to transition between logic levels in opposite directions in each delay stage would be magnified by the number of delay stages in the delay line 120, which might result in the delay line creating substantial duty cycle skew. For example, a rising edge transition of an input signal applied to a delay line 120 containing only non-inverting delay devices would result in all of the delay devices transitioning from high-to-low. On the next transition of the input signal, i.e., from high to low, the non-inverting delay devices would all transition from low-to-high. If the low-to-high transition required more time than the high-to-low transition, the duty cycle of the input signal would be skewed by all of the delay devices, thus resulting in a significant deviation from a 50% duty cycle.

The DLL 100 allows use of the delay line 120 with a single inverting delay device in each stage by using the delay line 120 in combination with the phase inverter 130. As explained in greater detail below, the phase inverter 130 passes the EvenOut signal without inverting it and inverts the OddOut* signal to provide an OddOut signal that is no longer the complement of the EvenOut signal. The phase inverter 130.can have the same propagation delay for both the EvenOut signal and the OddOut signal so that the phase of the EvenOut signal differs from the phase of OddOut signal by only the propagation delay though one of the NAND gates 126. As a result, the size of the coarse delay over which the phase mixer 110 is only approximately half the size of the coarse step over the phase mixer 80 used in the DLL 30 must interpolate. Therefore, the linearity of the phase mixer 110 used in the DLL 100 should be significantly improved.

The delay line 120 used in the DLL 100 does invert the CLK_(REF) signal over an odd number of delay stages 124 to provide either the EvenOut signal or the OddOut* signal. However, the mismatch between the number of rising edge transitions of the CLR_(REF) signal compared to the number of falling edge transitions of the CLK_(REF) is a single leading edge or rising edge transition. Therefore, for example, if there are 72 delay stages 124, the CLK_(REF) may have a duty cycle that deviates from 50% only to the extent of a disparity in the rise time and fall time of a single delay stage 124.

A phase inverter 130 according to one embodiment of the invention is shown in FIG. 4. The phase inverter 130 includes a pair of series coupled inverters 140, 142, the first of which 140 receives the EvenOut signal and the last of which generates one of the signals applied to the phase mixer. The OddOut signal is applied to the first of a series of three inverters 150, 152, 154. The final inverter 154 has its output coupled to the other input of the phase mixer 110 (FIG. 3). Insofar as the OddOut signal is the complement of the EvenOut signal, the signals output from the phase inverter 130 have the same phase in the same manner that the phase mixer receives signals having the same phase in the prior art circuit shown in FIG. 1. It may appear that the OddOut signal would be delayed relative to the EvenOut signal by more than the delay of one delay stage because the OddOut signal is inverted by three inverters 150, 152, 154 while the EvenOut signal is inverted by only two inverters 140, 142. However, transistors (not shown) in the inverters 140, 142, 150, 152, 154 are fabricated with a size that causes the collective delay of the two inverters 140, 142 to be equal to the collective delay of the three inverters 150, 152, 154. As a result, the transistors in the inverter 140 have different electrical characteristics from the transistors in the inverter 150, and they would therefore load the respective signal lines coupled to their inputs to different degrees. To equalize the loads on each of these signal lines, an impedance compensating device, such as an extra inverter 160 having the same electrical characteristics as the inverter 150, is connected to the input of the inverter 140. Similarly, an extra inverter 164 having the same electrical characteristics as the inverter 140 is connected to the input of the inverter 150. As a result, both inputs to the phase inverter 130 have the same input impedance. However, in other embodiments of the phase inverter 130, the extra inverters 160, 164 are not used. Also, of course, other embodiments of the phase inverter 130 may use different designs.

Although the present invention has been described with reference to the disclosed embodiments, persons skilled in the art will recognize that changes may be made in form and detail without departing from the invention. For example, as explained above, the delay controller 84 includes conventional logic that selectively applies EnNx signals to the NAND gates 56, 58 in each delay stage 54 to disable the delay stages 54 downstream from a selected delay stage. However, in other embodiments of the delay line 50, the gates 56, 58 in all of the delay stages 54 may be permanently enabled, particularly if power consumption is not an issue. In such cases, rather than using a permanently enabled gate, inverters may be used in place of gates. Such modifications are well within the skill of those ordinarily skilled in the art. Accordingly, the invention is not limited except as by the appended claims. 

1. A delay lock loop, comprising: a delay line comprising a plurality of delay stages each of which consists of a single inverting delay device, one of the delay stages receiving a reference clock signal applied to an input of the delay line, one of the delay stages being selected by a delay control signal, the delay line coupling a first output signal from an input of the selected delay stage and coupling a second output signal from an output of the selected delay stage; a phase inverter having a first input receiving one of the first and second output signals from the delay line and a second input receiving the other of the first and second output signals from the delay line, the phase inverter being operable to couple a signal applied to the first input to a first output without inverting the signal and being operable to couple a signal applied to the second input to a second output while inverting the signal; a phase mixer having first and second inputs coupled to the respective first and second outputs of the phase inverter, the phase mixer to generate a clock output signal having a timing that is interpolated between the timing of the signal applied to the first input and the timing of the signal applied to the second input; and a phase detector having a first input coupled to receive the reference clock signal and a second input coupled to receive the output clock signal, the phase detector generating an output signal corresponding to the difference in timing between the reference clock signal and output clock signal, the output signal from the phase detector being used to generate the delay control signal.
 2. The delay lock loop of claim 1, further comprising a model delay through which the output clock signal is coupled to the second input of the phase detector.
 3. The delay lock loop of claim 1 wherein each of the single inverting delay devices comprise a logic gate.
 4. The delay lock loop of claim 3 wherein each of the logic gates comprise a respective NAND gate.
 5. The delay lock loop of claim 3 wherein each of the logic gates is selectively enabled or disabled by an other delay control signal.
 6. The delay lock loop of claim 1 wherein all of the inverting delay devices downstream from the selected inverting delay device are disabled by an other delay control signal.
 7. The delay lock loop of claim 1 wherein each of the single inverting delay devices comprise an inverter.
 8. The delay lock loop of claim 1 wherein the phase inverter comprises: N inverting delay devices coupled in series with each other from the second input of the phase inverter to the second output of the phase inverter, N being an even integer; and N+1 inverting delay devices coupled in series with each other from the first input of the phase inverter to the first output of the phase inverter.
 9. The delay lock loop of claim 8 wherein a propagation delay from the first input of the phase inverter to the first output of the phase inverter is substantially equal to a propagation delay from the second input of the phase inverter to the second output of the phase inverter.
 10. The delay lock loop of claim 8 wherein the inverting logic devices coupled between the first input to the first output have electrical characteristics that are different from electrical characteristics of the inverting delay devices coupled between the second input to the second output, and wherein the phase inverter further comprises a first impedance compensating device coupled to the first input and a second impedance compensating device coupled to the second input, the first impedance compensating device comprising an inverting delay device of the type coupled between the second input and the second output, and the second impedance compensating device being an inverting delay device of the type coupled between the first input and the first output.
 11. The delay lock loop of claim 1, further comprising an exit tree coupled between the inverting delay devices and the phase inverter, the exit tree being operable to couple the input of the selected inverting delay device to the first input of the phase inverter and the output of the selected inverting delay device to the second input of the phase inverter.
 12. The delay lock loop of claim 11 wherein the delay line comprises a plurality of delay devices each of which is coupled to an input of a respective one of the inverting delay devices, each of the exit tree delay devices being selectively enabled by the delay control signal.
 13. The delay lock loop of claim 12 wherein the exit tree further comprises: a first logic gate having a plurality of inputs each of which is coupled to a respective input of alternating ones of the exit tree delay devices, the first logic gate having an output coupled to the first input of the phase inverter; and a second logic gate having a plurality of inputs each of which is coupled to a respective input of a plurality of the exit tree delay devices that are not coupled to the first logic gate, the second logic gate having an output coupled to the second input of the phase inverter.
 14. The delay lock loop of claim 1, further comprising an exit tree coupled between the inverting delay devices and the phase inverter, the exit tree being operable responsive to the delay control signal to couple the input and output of the selected delay stage to the respective first and second inputs of the phase inverter. 15-28. (canceled) 